package run.newbug;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;

@SpringBootApplication
public class Runapp {
    public static void main(String[] args) {
        encryPwd();
        SpringApplication.run(Runapp.class,args);

    }

    private static void encryPwd() {
        String password = "43744374";
        String newPwd = new BCryptPasswordEncoder().encode(password);
        System.out.println(newPwd);
    }
}
